﻿<%@ Page Language="C#" 
    MasterPageFile="~/Site.Master" 
    AutoEventWireup="true" 
    CodeBehind="PerformerDetail.aspx.cs" 
    Inherits="Ras2Web.PerformerDetail" 
    Title="Nánar um flytjanda" %>
    
<%--    Info on the PerformerDetails for the viewer to look closer at. 
        He can view the Performer Name, Info, Website and Photo - if it exists in the database.
        Displayed in Labels.
        Furthermore, all songs in the database that the Performer has sung.
        Displayed in Gridview.
--%> 

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <h1 class="white_background">
        Nánar um flytjanda</h1>
    <table>
        <tr>
            <td>
                &nbsp;
            </td>
            <td class="svartirtitlar">
                <asp:Label ID="Label1" runat="server" Text="Nafn:"></asp:Label>
            </td>
            <td>
                <asp:Label ID="m_txtName" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td class="svartirtitlar">
                <asp:Label ID="Label2" runat="server" Text="Athugasemdir:"></asp:Label>
            </td>
            <td>
                <asp:Label ID="m_txtDescription" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td class="svartirtitlar">
                <asp:Label ID="Label3" runat="server" Text="Vefslóð:"></asp:Label>
            </td>
            <td>
                <asp:Label ID="m_txtURL" runat="server"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                &nbsp;
            </td>
            <td class="svartirtitlar">
                <asp:Label ID="Label4" runat="server" Text="Ljósmynd:"></asp:Label>
            </td>
            <td>
                <asp:Label ID="m_txtPic" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    <br />
    <br />
    <asp:GridView ID="m_gridViewPerformerSongs" runat="server" AutoGenerateColumns="false"
        HorizontalAlign="NotSet">
        <Columns>
            <asp:HyperLinkField DataNavigateUrlFields="ID" DataNavigateUrlFormatString="~/SongDetail.aspx?ID={0}"
                DataTextField="Name" HeaderText="Lög flytjanda" />
        </Columns>
    </asp:GridView>
    <br />
    <a href="Default.aspx">Til baka á upphafssíðu</a>
</asp:Content>
